package com.agilekr.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class IndexController {
    //http://localhost:8089/spring-boot/say?message=123
    @RequestMapping(value = "/say")
    public @ResponseBody String say(String message){
        return "say hello:"+message;
    }
}
